  <#assign _comment>${table.comment?replace('表','')}</#assign>
  /**
 * 功能:${_comment}数据模型
 */
 Ext.define('${config.packageName}.model.${table.entityName}',{
    extend: 'Ext.data.Model',
    entity : '${table.entityName}',
    fields: [
        <#if table.primaryProperty?exists>
        {type:'int',name:'${table.primaryProperty.property}'},
        </#if>
        <#list table.propertys as prop>
        <#if prop.notBuild?exists && prop.notBuild==true>
        <#elseif prop.notInsert?exists && prop.notInsert==true>
        <#else>
        {name:'${prop.property}',mapping:'${prop.property}'},
        </#if>
        </#list>
    ]
});